﻿<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.4.4.min.js")" type="text/javascript"></script>
</head>
@{
    // 我们要写出compact,clean,expressive code
    }
<body>
    <div class="page">

        <div id="header">
            <div id="title">
                <h1>我的测试网站</h1>
            </div>

            <div id="logindisplay">
                @Html.Partial("_LogOnPartial")
            </div>
            <div id="menucontainer">
                <ul id="menu">
                    <li>@Html.ActionLink("Home", "Index", "Home")</li>
                    <li>@Html.ActionLink("About", "About", "Home")</li>
                    <li>@Html.ActionLink("Razor", "Index", "Razor")</li>
                    <li>@Html.ActionLink("NameSpace", "Index", "NameSpace")</li>
                    <li>@Html.ActionLink("教程", "Index", "tutorial")</li>
                    <li>@Html.ActionLink("教程2", "Index", "movies")</li>
                </ul>
            </div>
        </div>

        <div id="main">
            @*RenderBody is a placeholder where all the view-specific pages you create show up, *@
            @RenderBody()
            <div id="footer">@RenderSection("footer", required: false)
            </div>
        </div>
    </div>
</body>
</html>
